from django.contrib import admin
from api.models import Record
from api.models import Account
from api.models import Group

class RecordAdmin(admin.ModelAdmin):
    list_display = ('NAME','TIME','PRICE','GROUP')
class AccountAdmin(admin.ModelAdmin):
    list_display = ('name','time','price','group')
class GroupAdmin(admin.ModelAdmin):
    list_display = ('name','item')
admin.site.register(Record ,RecordAdmin)
admin.site.register(Account ,AccountAdmin)
admin.site.register(Group,GroupAdmin)